#-*- coding: utf-8 -*-
#
# author: Tobiasz Siemiński
# creation date: 13.04.2011


"""Klasa reprezentująca zawodnika, który posiada następujące atrybuty:
Technika (Technique)
Opanowanie (Composure)
Zaangażowanie (Engagement)
Sprawność fizyczna (Physical Fitness)
Pozycja (Position) - ATT/DEF/MID/GK
Ksywka (Nick)"""
class Player(object):
	def __init__(self, nick = "defaultNick",  position = "DEF", composure = 1, physicalFitness = 1, technique = 1, engagement = 1):
		self.composure = int(composure)
		self.engagement = int(engagement)
		self.technique = int(technique)
		self.physicalFitness = int(physicalFitness)
		self.position = position
		self.nick = nick
		#print "Nowy zawodnik: %s" % (self.nick);
		#print "Atrybuty %d %d %d %d %s" % (self.technique, self.composure, self.engagement, self.physicalFitness, self.position)   

	def __repr__(self):
       		return "%s: Atrybuty %d %d %d %d %s" % (self.nick, self.technique, self.composure, self.engagement, self.physicalFitness, self.position)
